
<include file="Public/header" /> <!--包含头部模版header-->
<h2>用户管理</h2>
<tr><a class="pull-right" href="{:U('index/form')}"><font size="4"><b>添加</b></font></a></tr>


<form action="{:U('index/search')}" method="post">
	<table class="table">
		<tr><td><input name="search_key" />&nbsp;&nbsp;<input type="submit" class="btn btn-success" value="搜索" /></td></tr> 
	</table>
</form>



<table class="table table-striped">

<tr><td>用户编号</td><td>用户名</td><td>密码</td><td>学号</td><td>姓名</td><td>电话</td><td>邮箱</td><td>个人头像</td><td>用户注册时间</td><td>操作</td></tr>

<volist name="list" id="vo">
<tr>
<td>{$vo.ydq_id}</td>
<td>{$vo.ydq_username}</td>
<td>{$vo.ydq_pass}</td>
<td>{$vo.ydq_stunum}</td>
<td>{$vo.ydq_realname}</td>
<td>{$vo.ydq_tele}	</td>
<td>{$vo.ydq_email}</td>
<td><img src="__ROOT__/uploads/{$vo.ydq_photo}"/></td>
<td>{$vo.ydq_regtime}	</td>

<td>
<a href="{:U('index/mod',array('id'=>$vo['ydq_id']))}">修改|</a>
<br>
<a href="javascript:if(confirm('确认删除?')) location='{:U('index/del',array('id'=>$vo['ydq_id']))}'">删除|</a>
</td>
</tr>
	</volist>


</table>
<div><h3>{$page}</h3></div>
<include file="Public/foot" /> <!--包含头部模版header-->